SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE VIEW dbo.vw_comisionesdeservicios
AS
SELECT     TOP 100 PERCENT *
FROM         dbo.vw_POFPaquete
WHERE     (Documento IN
                          (SELECT DISTINCT documento
                            FROM          vw_pofpaquete
                            WHERE      cuise = 19)) AND (Documento > 0)
ORDER BY Documento, CUISE








GO
